DISCUSSION
Note that when you copy a text layout object that contains a reference constant, the reference constant will not be copied. When you dispose of a text layout object that contains a reference constant, you are responsible for freeing any memory allocated for the reference constant. Calling
ATSUDisposeTextLayout will not do so.